package com.financing.service.report;
import java.util.Arrays;
import java.util.Map;

import com.financing.model.report.SqlReport;
import com.financing.service.BaseService;
import com.jfinal.plugin.activerecord.Page;

public class SqlReportService extends BaseService<SqlReport>{

	/**
	 * 分页数据
	 */
	public Page<SqlReport> list(int page, int size, Map<String, String> map) {
		return SqlReport.me.paginate(page, size, buildSql("sql_report",Arrays.asList("create_time", "name"),map));
	}
}
